﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

using Whoever.Framework.Base;

namespace Comswing.Website.Models.AccountViewModels
{
    public class LoginViewModel : ViewModel
    {
        //Check special characters as well valid email address
        [Required]
        [MinLength(3)]
        [MaxLength(60)]
        public string Account { get; set; }

        [Required]
        [MinLength(6)]
        [MaxLength(30)]
        public string Password { get; set; }
    }
}